package com.xuchy.designpattern.factory.abstractfactory;

/**
 * @author xuchy
 * @Date 2019/11/5 23:22
 */
public class IntelFactory implements ComputerFactory {

    @Override
    public CPU makeCPU() {
        return new IntelCPU();
    }

    @Override
    public MainBoard makeMainBoard() {
        return new IntelMainBoard();
    }

    @Override
    public HardDisk makeHardDisk() {
        return new IntelHardDisk();
    }
}
